//
//  CommentListModel.h
//  ZhiHuDaily
//
//  Created by albert on 16/8/17.
//  Copyright © 2016年 albert. All rights reserved.
//  在这里获取评论数据

#import <Foundation/Foundation.h>

@interface CommentListModel : NSObject

/** 清空数组 */
+ (void)clearData;

/** 加载 长评论 */
+ (void)loadLongCommentsWithNewsID:(int)ID finished:(void(^)(NSMutableArray *arr))finished;

/**
 加载更多的长评论
 
 - parameter newsId:   文章的ID
 - parameter beforeId: 长评论的最后一个ID
 - parameter finished: 完成的回调
 */
+ (void)loadMoreLongCommentsWithNewsID:(int)newsID beforeID:(int)beforeID finished:(void(^)(NSMutableArray *arr))finished;

/** 加载 短评论 */
+ (void)loadShortCommentsWithNewsID:(int)newsID finished:(void(^)(NSMutableArray *arr))finished;

/** 加载更多的短评论 */
+ (void)loadMoreShortCommentsWithNewsID:(int)newsID beforeID:(int)beforeID finished:(void(^)(NSMutableArray *arr))finished;

/** 获取所有长评论数据 */
+ (void)getAllLongCommentsWithNewsID:(int)newsID complete:(void(^)(NSMutableArray *longCmts))complete;

/** 获取所有短评论数据 */
+ (void)getAllShortCommentsWithNewsID:(int)newsID complete:(void(^)(NSMutableArray *shortCmts))complete;
@end
